//
//  OtherController.m
//  DirectShowCam
//
//  Created by Evangel on 10-12-28.
//  Copyright 2010 Evangel. All rights reserved.
//

#import "OtherController.h"


@implementation OtherController
@synthesize iV,currentImage,delegate,passInType;
/*
 // The designated initializer.  Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    if ((self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil])) {
        // Custom initialization
    }
    return self;
}
*/


- (void)viewDidLoad 
{
	[super viewDidLoad];
	self.navigationController.navigationBar.hidden = NO;
	
	iV.image = currentImage;
}

-(void)viewWillDisappear:(BOOL)animated
{
	if([(NSObject*)delegate respondsToSelector:@selector(returnToCamState:)])
	{
		[delegate returnToCamState:passInType];
	}
}

- (void)viewDidUnload 
{
    [super viewDidUnload];
	self.iV = nil;
	self.currentImage = nil;
}

- (void)dealloc 
{
    [super dealloc];
}


@end
